<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserInfo extends Model
{
    protected $table = 'user_info';

    public function getAvatarAttribute($pictures) {
        if ($pictures) {
            return $pictures . '!avatar.jpg';

        }
    }
}
